home *** CD-ROM | disk | FTP | other *** search
- Path: yarrow.wt.com.au!usenet
- From: bvarley@yarrow.wt.com.au (bruce varley)
- Newsgroups: comp.lang.c
- Subject: Re: Macros in C (Disadvantages?)
- Date: Wed, 10 Jan 1996 02:38:27 GMT
- Organization: Winthrop Technology
- Message-ID: <4cthcp$1c0@yarrow.wt.com.au>
- References: <4cjluh$gva@kernighan.cs.umass.edu> <821173834.5944@paget.demon.co.uk>
- NNTP-Posting-Host: yarrow
- X-Newsreader: Forte Free Agent 1.0.82
-
- Here is an a example that illustrates the danger(s) of macros.....
-
- #define A 7
- #define B 4+5
-
- C = A * B. This will produce 33.
-
-